package com.jbm.jbmsupplier.net.connshedinface;

import android.os.Handler;

import com.jbm.onehome.common.OHInterface;

/**
 * Created by 家帮忙 on 2017/5/18.
 */

public class SendConnInter  {
    private Handler handler;
   public static OHInterface gSockets=new OHInterface();
    public SendConnInter( Handler handler) {
        this.handler = handler;
    }
    public void setLogin(String name,String pwd,int login){
        String logins = gSockets.Login(name,pwd);
        handler.sendMessage(handler.obtainMessage(login,logins));
    }




}
